/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.xs_user.entity;

import com.jeeplus.modules.xs_user.entity.XsUser;
import javax.validation.constraints.NotNull;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 用户资产信息Entity
 * @author 天竹子
 * @version 2021-07-15
 */
@Data
public class XsUserAssets extends DataEntity<XsUserAssets> {
	
	private static final long serialVersionUID = 1L;
	@NotNull(message="用户id不能为空")
	private XsUser user;		// 用户id 父类
	@ExcelField(title="月票", align=2, sort=2)
	private Integer monthlyTicket;		// 月票
	@ExcelField(title="经验", align=2, sort=3)
	private Integer experience;		// 经验
	@ExcelField(title="帝币", align=2, sort=4)
	private Double emperorCurrency;		// 帝币
	@ExcelField(title="推荐票", align=2, sort=5)
	private Integer recommendCurrency;		// 推荐票
	@ExcelField(title="评分次数", align=2, sort=6)
	private Integer scoreNumber;		// 评分次数
	@ExcelField(title="催更票", align=2, sort=7)
	private Integer pushMoreCurrency;		// 催更票
	
	public XsUserAssets() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public XsUserAssets(String id){
		super(id);
	}

	public XsUserAssets(XsUser user){
		this.user = user;
	}

}